<?php if (!defined('THINK_PATH')) exit();?><!--<meta http-equiv="refresh" content="1" />-->
<link href="/Public/Home/css/sane.css"  type="text/css" rel="stylesheet"/>
<script src="/Public/js/jquery-1.11.3.min.js" type="text/javascript"></script>
<script src="/Public/js/layer/layer.js" type="text/javascript"></script>
<link href="/Public/css/bootstrap.css"  type="text/css" rel="stylesheet"/>
<script src="/Public/js/bootstrap.js" type="text/javascript"></script>
<script src="/Public/Home/js/attestation.js" type="text/javascript"></script>
<div class="c-main-left-content">
    <div class="con_title">
        <h3>交易信息</h3>
    </div>
    <div class="title_tip">
        <img class="record_icon" src="/Public/img/record_01.jpg"/>
        <span class="record_news">请及时关注交易消息。</span>
    </div>

    <div class="box_box">
        <div class="trad_message_info">
            <?php if(is_array($_getBookBuyInfo)): $i = 0; $__LIST__ = $_getBookBuyInfo;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><div class="message_box">
                    <div class="mess_box_box">
                        <span><?php echo (date('Y-m-d H:i:s',$vo['buybook_time'])); ?></span>
                    </div>
                    <div class="mess_info">
                        <span><?php echo ($vo['real_name']); ?></span>
                        <span>购买1本：《<?php echo ($vo['book_name']); ?>》</span>
                        <span>
                            支付方式：
                            <?php if($vo['buy_type'] == 1): ?>货到付款
                                <?php else: ?>
                                银联支付<?php endif; ?>
                        </span>
                        <span>地址为：<?php echo ($vo['u_address']); ?></span>
                        <span>电话为：<?php echo ($vo['u_tel']); ?></span>
                    </div>
                    <div class="mess_input">
                        <?php if($vo['book_status'] == 1): ?><span class="box_mess box_mess1">订单提交中</span><?php endif; ?>
                         <?php if($vo['book_status'] == 2): ?><span class="box_mess box_mess2">订单已确认</span><?php endif; ?>
                         <?php if($vo['book_status'] == 3): ?><span class="box_mess box_mess3">订单已完成</span><?php endif; ?>
                    </div>
                </div><?php endforeach; endif; else: echo "" ;endif; ?>
        </div>
    </div>
</div>